#set($ctx=$rc.contextPath)
#set($staticPath="$!{ctx}")
<script>var _contextPath = "$!{ctx}"; var _staticPath = "$!{ctx}";</script>